package com.jy.rhin.model.body.tangniaobsf;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ShengHuoFS {
    //日吸烟量
    @XPath(path = "/entry/observation/code[@code='DE03.00.053.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_053_00, nullable = true))
    String riXiYL;
    //日饮酒量
    @XPath(path = "/entry/observation/code[@code='DE03.00.054.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_054_00, nullable = true))
    String riYinJL;
    //锻炼频率
    @XPath(path = "/entry/observation/code[@code='DE03.00.087.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_087_00, nullable = true))
    CodeObject duanLianPL;
    //每次锻炼时间
    @XPath(path = "/entry/observation/code[@code='DE03.00.088.00']/../value/width/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_088_00, nullable = true))
    String meiCiDLSJ;
    //日主食量
    @XPath(path = "/entry/observation/code[@code='DE03.00.055.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE03_00_055_00, nullable = true))
    String riZhuSL;
    //心理调整
    @XPath(path = "/entry/observation/code[@code='DE05.10.083.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_083_00, nullable = true))
    CodeObject xinLiTZ;
    //遵医行为
    @XPath(path = "/entry/observation/code[@code='DE05.10.068.00']/../value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_068_00, nullable = true))
    CodeObject zunYiXW;
}
